<%-- 
    Document   : top
    Created on : 2011-4-5, 20:25:12
    Author     : LBH
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="com.news.bean.*" %>
<%@page import="com.news.dao.*" %>
<%@page import="com.news.servlet.*" %>
<%@page import="com.news.dao.impl.*" %>
<%@page import="java.util.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="images/display/gobal.css" rel="stylesheet" type="text/css" />
        <title>JSP Page</title>
    </head>
    <body>
        <div id="Header"><br>
            <center> <B><font size="5" color="#f7a009">新闻发布系统</font></B></center></div>
        <div id="cut"></div>
        <div id="menu"><ul>
                <li><a href="/HBLPro/display/newsList.jsp">首页</a></li>
                <li class="menuDiv"></li>
                <%
            List<NewsType> list1 = new NewsTypeDaoImpl().list();
            if (list1 != null && list1.size() > 0) {
                int i = 0;
                for (NewsType newstype : list1) {
                    i++;
                %>

                <li><a href="/HBLPro/display/newsSpecial.jsp?newstypeid=<%=newstype.getId()%>"><%=newstype.getName()%></a></li>
                <li class="menuDiv"></li>
                <%}
            }%>
           
            <li><a href="/HBLPro/login.jsp">后台管理</a></li>
            <li class="menuDiv"></li>
            </ul>
　　</div>
    </body>
</html>
